package com.example.shop.sys.dict.service;

import com.example.shop.base.BaseService;
import com.example.shop.domain.sys.SysDict;
import com.example.shop.sys.dict.dao.SysDictDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *  @author   hcj
 *  @date 2018-09-17 21:38:45
*/
@Service
public class SysDictService extends BaseService<SysDict, SysDictDao>{

    @Resource
    private SysDictDao sysDictDao;


    public List<SysDict> findList(String param){
        SysDict sysDict = new SysDict();
        sysDict.setDictType(param);
        return sysDictDao.findList(sysDict);
    }

}